export default [
  {
    "path": "/",
    "exact": true,
    "redirect": '/index/userInfo',
  },
  {
    "path": "/index",
    "exact": false,
    "name": "首页",
    "routes": [
      {
        "path": "/index/userInfo",
        "exact": true,
        "component": '@/pages/login/userInfo/index.tsx',
        "wrappers": ['@/pages/auth/index.tsx'],
        "name": "个人中心"
      },
      {
        "path": "/index/login",
        "exact": true,
        "component": '@/pages/login/index.tsx',
        "name": "登录登出",
      },
    ]
  },
  {
    "path": "/teacher",
    "exact": false,
    "name": "实验员管理",
    "routes": [
      {
        "path": "/teacher/info",
        "exact": true,
        "component": '@/pages/teacher/index.tsx',
        "wrappers": ['@/pages/auth/index.tsx'],
        "tType": 0,
        "name": "实验员信息"
      },
    ]
  },
  {
    "path": "/laboratory",
    "exact": false,
    "name": "实验室管理",
    "routes": [
      {
        "path": "/laboratory/info",
        "exact": true,
        "component": '@/pages/laboratory/index.tsx',
        "wrappers": ['@/pages/auth/index.tsx'],
        "name": "实验室信息"
      },
    ]
  },
  {
    "path": "/course",
    "exact": false,
    "name": "课程管理",
    "routes": [
      {
        "path": "/course/info",
        "exact": true,
        "component": '@/pages/course/index.tsx',
        "wrappers": ['@/pages/auth/index.tsx'],
        "name": "课程信息"
      },
      {
        "path": "/course/experimentCourse",
        "exact": true,
        "component": '@/pages/course/experimentCourse/index.tsx',
        "wrappers": ['@/pages/auth/index.tsx'],
        "name": "实验课程"
      },
    ]
  },
  {
    "path": "/plan",
    "exact": false,
    "name": "实验安排",
    "routes": [
      {
        "path": "/plan/info",
        "exact": true,
        "component": '@/pages/plan/index.tsx',
        "wrappers": ['@/pages/auth/index.tsx'],
        "name": "安排信息"
      },
    ]
  },
  {
    "path": "/student",
    "exact": false,
    "name": "学生管理",
    "routes": [
      {
        "path": "/student/experimentCourse",
        "exact": true,
        "component": '@/pages/student/experimentCourse/index.tsx',
        "wrappers": ['@/pages/auth/index.tsx'],
        "name": "实验成绩"
      },
      {
        "path": "/student/course",
        "exact": true,
        "component": '@/pages/student/course/index.tsx',
        "wrappers": ['@/pages/auth/index.tsx'],
        "name": "课程成绩"
      },
    ]
  },
  {
    "component": '@/pages/404.tsx'
  }
];
